package com.weixing.mall.provider.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.weixing.mall.provider.model.domain.UpgradeMsg;
import com.weixing.mall.provider.model.vo.UpgradeMsgVo;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

/**
 * <p>
 * 代理商模块-代理商升级通知 Mapper 接口
 * </p>
 *
 * @author Small
 * @since 2020-05-29
 */
@Repository
public interface UpgradeMsgMapper extends BaseMapper<UpgradeMsg> {

    IPage<UpgradeMsgVo> selectListByCustomerId(@Param("pg")Page page, @Param("customerId")Long customerId, @Param("status")Integer status);

}
